package com.orion.service;

import com.orion.entity.Role;
import com.orion.entity.User;

/**
 * @author Administrator
 * @date 2021/12/1
 */
public interface TransService {

    /**
     * 保存user、role 以及其关系，测试事务
     *
     * @param user
     * @param role
     * @return
     */
    boolean saveUserRoleRela(User user, Role role);

}
